package javatwo.annotation.session2;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * Return Types 
 * <ul>
 * 	<li>Primitives
 *  <li>String
 *  <li>Class
 *  <li>enum
 *  <li>array of the above types
 * </ul>
 * <br/>
 * Target ElementType
 * <ul>
 * 	<li>TYPE
 *  <li>FIELD
 *  <li>METHOD
 *  <li>PARAMETER
 *  <li>CONSTRUCTOR
 *  <li>LOCAL_VARIABLE
 *  <li>ANNOTATION_TYPE
 *  <li>PACKAGE
 * </ul>
 * <br/>
 * Retention Policy
 * <ul>
 *  <li>SOURCE
 *  <li>CLASS
 *  <li>RUNTIME
 * </ul>
 * @author jini
 *
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface MyDoc {
	
	public String author() default "jini"; // use default for annotation when there is no value for author.
	
	public String description();
	
	public String[] requireNos();
	
}
